package com.hs.device.ups.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hs.communication.common.entity.UpsData;
import com.hs.device.ups.mapper.UpsRealInfoMapper;
import com.hs.device.ups.service.UpsRealInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UpsRealInfoServiceImpl extends ServiceImpl<UpsRealInfoMapper, UpsData> implements UpsRealInfoService {

    @Resource
    private UpsRealInfoMapper upsRealInfoMapper;

    @Override
    public int insert(UpsData upsRealInfo) {
        return upsRealInfoMapper.insert(upsRealInfo);
    }
}
